package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.modules.generator.entity.DictionaryEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-11-26 15:10:03
 */
public interface DictionaryService extends IService<DictionaryEntity> {

    List<DictionaryEntity> queryPage(Map<String, Object> params);

    int queryPageTotal(Map<String,Object> params);

    List<DictionaryEntity> queryByType(String[] types);

    List<DictionaryEntity> queryByType(String type);


    void updateStatusByIds(List<Integer> list);

    DictionaryEntity queryEntityByCode(String code);

    List<String> queryAllTypeList();


}

